<?php

//防止恶意调用
if (!defined('IN_MOD'))
{
    die('Hacking attempt');
}

// 扩展功能配置
require(MODULEPARA_PATH . '/expmodule/supplier/includes/expcommon.fun.php');
require(MODULEPARA_PATH . '/expmodule/supplier/hook/expconfig.php');// 扩展钩子

// 独立商家
if($configinfo['modulepara'] == "supplier")
{
	require(MODULEPARA_PATH . '/expmodule/supplier/expcommon.php');
}

// 前台商家
if($configinfo['suppliermodule'] == 1)
{
	require(MODULEPARA_PATH . '/expmodule/supplier/expcommon.user.php');
}

// 后台商家
if($configinfo['adminsuppliermodule'] == 1)
{
	require(MODULEPARA_PATH . '/expmodule/supplier/expcommon.admin.php');
}
?>